package cn.itcast.xuesheng.dao;

import cn.itcast.xuesheng.domain.User;

import java.util.List;

public interface UserDao {
    public User isLogin(User user);

    public void insert(User user);

    public User check(String username);

    public void update(User user);

    public void delete(int tid);

    public List<User> findAll();
}
